package cn.yunhe.java.service;

import com.huiminpay.common.cache.domain.BusinessException;

public interface SmsService {
    String sendSms(String phone);

    /**
     * 校验验证码，抛出异常则校验无效
     * @param verifyKey  验证码key
     * @param verifyCode 验证码
     */
    void checkVerifyCode(String verifyKey, String verifyCode) throws BusinessException;;

}
